package cn.iocoder.yudao.module.enterprise.convert.emissionsource;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.enterprise.controller.admin.emissionsource.vo.*;
import cn.iocoder.yudao.module.enterprise.dal.dataobject.emissionsource.EmissionSourceDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 排放源 Convert
 *
 * @author StevenShen
 */
@Mapper
public interface EmissionSourceConvert {

    EmissionSourceConvert INSTANCE = Mappers.getMapper(EmissionSourceConvert.class);

    EmissionSourceDO convert(EmissionSourceCreateReqVO bean);

    EmissionSourceDO convert(EmissionSourceUpdateReqVO bean);

    EmissionSourceRespVO convert(EmissionSourceDO bean);

    PageResult<EmissionSourceSimpleRespVO> convertPage(PageResult<EmissionSourceDO> page);

    List<EmissionSourceExcelVO> convertList02(List<EmissionSourceDO> list);

}
